package com.supermarket.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文章媒体实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleMedia implements Serializable {
    
    /**
     * 媒体ID
     */
    private Integer id;
    
    /**
     * 文章ID
     */
    private Integer articleId;
    
    /**
     * 媒体类型：IMAGE-图片，VIDEO-视频
     */
    private String mediaType;
    
    /**
     * 媒体文件URL
     */
    private String mediaUrl;
    
    /**
     * 排序顺序
     */
    private Integer sortOrder;
    
    /**
     * 媒体描述
     */
    private String description;
    
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
} 